//
//  ProfileDetailViewController.h
//  cliqset
//
//  Created by David Hinson on 3/2/09.
//  Copyright 2009 Cliqset, Inc.. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HoverView.h"

@interface ProfileDetailViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, UIActionSheetDelegate> {
	NSInteger index;
	
	IBOutlet UITableView * profile;
	
	UIView *header;
	
	UILabel *myName;
	UILabel *myStatus;
	UILabel *myStamp;
	
	IBOutlet HoverView *hoverView;
	
	NSMutableArray* links;
	
	UIButton * relButton;
	UIButton * sendButton;
}

@property NSInteger index;
@property (retain, nonatomic) UITableView * profile;
@property (retain, nonatomic) UIView * header;
@property (retain, nonatomic) UILabel * myName;
@property (retain, nonatomic) UILabel * myStatus;
@property (retain, nonatomic) UILabel * myStamp;
@property (retain, nonatomic) HoverView * hoverView;
@property (retain, nonatomic) NSMutableArray *links;

@property (retain, nonatomic) UIButton * relButton;
@property (retain, nonatomic) UIButton * sendButton;

-(void)loadHeader:(float)size;
-(void)reloadData;
-(void)showHoverView:(BOOL)show;
-(void)setHeaderName:(NSString*)name;
-(void)setHeaderStatus:(NSString*)status timestamp:(NSString*)timestamp;
-(void)setHeaderStatus:(NSString*)status timeStamp:(NSDate*)timeStamp;

@end
